package cn.com.greatwall.user.service;

import java.util.List;
import java.util.Set;

import cn.com.greatwall.common.model.SysMenu;
import cn.com.greatwall.common.service.ISuperService;
import cn.com.greatwall.user.model.SysRoleMenu;

/**
 * @Author herw
 * @Time 2022-02-19 15:18:16
 * @Version 1.0
 * @Description: TODO(用一句话描述该文件做什么)
 */
public interface ISysRoleMenuService extends ISuperService<SysRoleMenu> {
    
    int delete(Long roleId, Long menuId);
    
    List<SysMenu> findMenusByRoleIds(Set<Long> roleIds, Integer type);
    
    List<SysMenu> findMenusByRoleCodes(Set<String> roleCodes, Integer type);
}
